﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">内容管理</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">留言列表</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">留言列表</a></li>
			
				
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

    <style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
    <form  method="post" action="?app=leaveword&act=index" >
      <div class="search_box">
        <div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle"> 排序方式:
          <select  onchange="ato_url('index.php?app=leaveword&act=index',this);" id="orderby">
            <option class="txtgreen" value="0">请选择...</option>
            <option value="timeasc" <!--{if ($v == 'timeasc')}-->selected<!--{/if}-->>时间升序↑</option>
            <option value="timedesc" <!--{if ($v == 'timedesc')}-->selected<!--{/if}-->>时间降序↓</option>
            <option value="seeyes" <!--{if ($v == 'seeyes')}-->selected<!--{/if}-->>已看</option>
            <option value="seeno" <!--{if ($v == 'seeno')}-->selected<!--{/if}-->>未看</option>
            <option value="dealyes" <!--{if ($v == 'dealyes')}-->selected<!--{/if}-->>已处理</option>
            <option value="dealno" <!--{if ($v == 'dealno')}-->selected<!--{/if}-->>未处理</option>
          </select>
        </div>
        <div class="r">
          <input type="text" title="多个关键字用空格隔开" value="{$word}" name="word">
          <input type="submit" value="搜索主题" class="buton">
        </div>
      </div>
    </form>
    <div class="clear"></div>	
	
	
    <table  class="data" >
        <thead>

          <th>ID</th>
          <th>留言人</th>
          <th>主题</th>
          <th>时间</th>
          <th>操作</th>	
			
        </thead>
	    <tbody>
		
        <!--{foreach($lw_data as $_key => $_value )}-->
        <tr  >
          <td  align="center"> {$_value.id} </td>
          <td>{$_value.name}</td>
          <td><a href="?app=leaveword&act=lsee&id={$_value.id}&s={$_value.see}">{$_value.title}</a></td>
          <td>{$_value.add_time|dateymdgis}</td>
          <td><!--{if ($_value.see)}-->已看<!--{else}--><a href="?app=leaveword&act=lsee&id={$_value.id}&s={$_value.see}"  target="mainframe">查看</a><!--{/if}-->/<!--{if ($_value.deal)}--><a href="?app=leaveword&act=ldeal&id={$_value.id}&s={$_value.deal}">已处理</a><!--{else}--><a href="?app=leaveword&act=ldeal&id={$_value.id}&s={$_value.deal}">处理</a><!--{/if}-->/<a href="?app=leaveword&act=del&id={$_value.id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a></td>
        </tr>
        
        <!--{/foreach}-->
        
      <style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>
      <tr>
        <td colspan="5"><div class="p_bar"> <span class="p_info">Total:&nbsp;<b>{$lw_page.total}</b>&nbsp;&nbsp;共{$lw_page.curr.num}/{$lw_page.totalpage}页</span> <a class="p_num" href="{$lw_page.head}">首页</a> <a class="p_num" href="{$lw_page.up}">&lt;&lt;</a> <a class="p_num" href="{$lw_page.up}">上一页</a> <span class="p_curpage">{$lw_page.curr.num}</span> <a  class="p_num" href="{$lw_page.down}">下一页</a> <a  class="p_num" href="{$lw_page.down}">&gt;&gt;</a> <a  class="p_num" href="{$lw_page.foot}">末页</a> </div></td>
      </tr>	
		
	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->